<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
${include("../common/_common.html#head",["title":"用户权限管理"])}
<script type="text/javascript" src="${path}/admin/js/role.js"></script>
<script type="text/javascript" src="${path}/admin/js/iframe.js"></script>
<script type="text/javascript" src="${path}/js/jquery-html5Validate.js"></script>
<script type="text/javascript" src="${path}/js/checkbox/jquery-hcheckbox.js"></script>
<script type="text/javascript" src="${path}/js/zTree/jquery.ztree.3.5.min.js"></script>
<link type="text/css" rel="stylesheet"  href="${path}/js/checkbox/css.css"></link>
<link type="text/css" rel="stylesheet" href="${path}/js/zTree/zTreeStyle.css"/>
</head>
<body class="right_body">
	<div class="body">
		<div class="top_subnav">J4CMS内容管理平台 ＞ 用户角色管理</div>
		<div class="title_h2">
			搜索
		</div>
		<p class="line" style="margin-top:0;">
		</p>
		<form action="search" method="post" enctype="application/x-www-form-urlencoded">
		<div class="filed fl">
			<label>关键词：</label>
			<input type="text" class="text" size="20" name="search" value="${search}"/>
		</div>
		<div class="filed fl">
			<button class="button" type="submit"></button>
		</div>
		</form>
        <div class="tablelist">
		<table class="table">
			<tr>
			<th colspan="9" class="top_th">
			<a href="javascript:;" class="add" id="add"><em>添加</em><span></span></a>
			<a href="javascript:;" class="edit" id="edit"><em>编辑</em><span></span></a>
			</th>
			</tr>
			<tr class="title">
			<th style="width:10px;"><input id="chkAll" name="ids" type="checkbox"/><label></label></th><th>编号</th><th>角色名称</th><th>角色备注</th><th>创建时间</th><th>操作</th>
			</tr>
			#set(Page<SysRole> roles)
			#if(roles.getList().size()>0)
			#for(SysRole obj : roles.getList())
				<tr>
					<td><input name="id" type="checkbox" value="${obj.get('id')}"/><label></label></td>
					<td>${obj.get('id')}</td><td>${obj.get('name')}</td><td>${obj.get('remark')}</td><td>${obj.get('create_time')}</td>
					<td><a href="javascript:;" class="auth" data-input="${obj.get('id')}">权限管理</a>|<a  href="javascript:;" class="delete" data-input="${obj.get('id')}">删除</a></td>
				</tr>
			#end
			#else
				<tr>没有数据</tr>
			#end
		</table>
        </div>
		<div class="page">
			${pageStr}
		</div>
	</div>
</body>
</html>
